class Vestimenta < ActiveRecord::Base
  has_many :uniformes, :through => :uniformes_vestimentas, :foreign_key=>:uniforme_id
  validates_uniqueness_of :nombre, :message => " Ya existe"
end
